/*
 * Hydra Paste global css
 */

/* pretty responsive menu */
.custom-wrapper {
	background-color: #1EB8FF;
	margin-bottom: 1em;
	-webkit-font-smoothing: antialiased;
	height: 2.1em;
	overflow: hidden;
	-webkit-transition: height 0.5s;
	-moz-transition: height 0.5s;
	-ms-transition: height 0.5s;
	transition: height 0.5s;
}
.center-banner {
	text-align: center;
}
.custom-wrapper a {
	color: #FFF;
	font-weight: bold;
}
.custom-wrapper.open {
	height: 14em;
}
.custom-menu-3 {
	text-align: right;
}
.custom-toggle {
	width: 34px;
	height: 34px;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	display: none;
}
.custom-toggle .bar {
	background-color: #FFF;
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 100px;
	position: absolute;
	top: 18px;
	right: 7px;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-ms-transition: all 0.5s;
	transition: all 0.5s;
}
.custom-toggle .bar:first-child {
	-webkit-transform: translateY(-6px);
	-moz-transform: translateY(-6px);
	-ms-transform: translateY(-6px);
	transform: translateY(-6px);
}
.custom-toggle.x .bar {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.custom-toggle.x .bar:first-child {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
@media (max-width: 47.999em) {
	.custom-menu-3 {
		text-align: left;
	}
	.center-banner {
		text-align: left;
	}
	.custom-toggle {
		display: block;
	}
}

/* general */
body {
	padding: 0;
	background: #2D2D2D;
	color: #EEE;
	font-family: 'Trebuchet MS',Helvetica,sans-serif;
}

a { color: inherit; }
html { height: 100%; }
input, textarea, button, select { color: #2D2D2D; }
table {
	border-collapse: separate;
	border-spacing: 0.33em;
}

.left { text-align: left; }
.right { text-align: right; }
.center { text-align: center; }

.layout .l { padding: 0 0.66em 0 0; }
.layout, .layout .r, .layout .r input, .layout .r textarea, .layout .r select { width: 100%; }

#footer {
	margin-top: 4em;
	color: #BBB;
	text-align: center;
}

.error {
	color: red;
}
.success {
	color: green;
}
.content {
	padding-left: 2em;
	padding-right: 2em;
	max-width: calc(100% - 4em);
}
.creds {
	padding-left: 2em;
	padding-right: 2em;
}
.spoiler {
	background-color: black;
	color: black;
}
.spoiler:hover {
	color: white;
}
@media screen and (min-width: 48em) {
	.creds {
		padding: 0;
	}
}

/* /uploadcombined */
.upload > fieldset > input, textarea, select {
    width: 100%;
}
.upload {
    margin: 2em;
}

/* /p/ */
.pastecode, #paste li {
	white-space: pre;
	word-break: break-word;
	color: black;
	background: white;
	padding-left: 5px;
}
.pastecodetable {
	table-layout: fixed;
	width: 100%;
}
.linenos {
	width: 3em;
	text-align: right;
}
#paste video, #paste img, #paste audio {
	max-width: 100%;
}
#pasteobj {
	min-height: 400px;
}
#infobox {
	min-height: 180px;
	letter-spacing: normal;
}

/* buttons */
// stolen from purecss examples
.button-success,
.button-error,
.button-warning,
.button-secondary {
	color: white;
	border-radius: 4px;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
.button-success {
	background: rgb(28, 184, 65);
}
.button-error {
	background: rgb(202, 60, 60);
}
.button-warnign {
	background: rgb(223, 117, 20);
}
.button-secondary {
	background: rgb(66, 184, 221);
}
